package com.chattingroom.mqcosumer.feign.interfaces;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "chattingroom-mq-cosumer",contextId = "MyConsumerFeign")
public interface MyConsumerFeign {

    @PostMapping("/feign/cosumer/addNewListener/{queueName}")
    String listener(@PathVariable("queueName") String queueName);

}